<?php
/**
 * Address Block of the customer sheet
 */

use Fox\Common\Customer;
use Fox\Html\Input;
use Fox\Html\Block;
$block = new Fox\Html\Block("bAddress",Msg(Customer::BUNDLE_NAME,12));
$block->add(new Input(array("adress","street")))->size(Input::SIZE_LARGE);
$block->add(new Input("postal_code"));
$block->add(new Input("city"),2,"postal_code");
$block->add(new Input("phone1"))->size(Input::SIZE_LARGE);
$block->add(new Input("phone2"))->size(Input::SIZE_LARGE);
$block->add(new Input("faxnum"))->size(Input::SIZE_LARGE);
$block->add(new Input(array("email","email1")))->size(Input::SIZE_LARGE);
$block->collapsed(false);
return $block;